package com.pactera.madp.cp.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("cp_radar_contact")
public class RadarContactEntity {

    @TableId(type = IdType.INPUT)
    private String openId;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "性别 0-未知 1-男 2-女")
    private Integer sex;

    @ApiModelProperty(value = "用户个人资料填写的省份")
    private String province;

    @ApiModelProperty(value = "普通用户个人资料填写的城市")
    private String city;

    @ApiModelProperty(value = "国家，如中国为CN")
    private String country;

    @ApiModelProperty(value = "用户头像")
    private String headimgurl;

    @ApiModelProperty(value = "用户特权信息")
    private String privilege;

    @ApiModelProperty(value = "只有在用户将公众号绑定到微信开放平台帐号后，才会出现该字段")
    private String unionid;

    @ApiModelProperty(value = "用户类型 0-游客 1-行内客户 2-crm客户")
    private String type;

    @ApiModelProperty(value = "客户编号（核心客户号）")
    private String custNo;

    @ApiModelProperty(value = "外部联系人id 行内客户才有")
    private String wxExternalUserid;

    @ApiModelProperty(value = "手机号码 crm客户与行内客户才有")
    private String mobileTel;

    @ApiModelProperty(value = "客户id 行内客户才有")
    private Integer contactId;

}
